#ifndef __NV_NAMES
#define __NV_NAMES

#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Buttons.hpp>
#include <ComCtrls.hpp>
#include <ExtCtrls.hpp>

#include "hcomps.h"
#include "BkList.h"

#include "int.h"

class TFrmNamesList : public TForm {
__published:    // IDE-managed Components
        TBevel *Bevel1;
        TBitBtn *NvOS8PushButton2;
        TPanel *Panel1;
        THeaderControl *HeaderControl1;
        HBkList *list;
        TLabel *Label1;
        TEdit *edtAddr;
        TEdit *edtName;
        TLabel *Label2;
        TSpeedButton *btnAdd;
        TSpeedButton *btnDel;
        TSpeedButton *btnChange;
        void __fastcall edtAddrChange(TObject *Sender);
        void __fastcall listClick(TObject *Sender);
        bool __fastcall listDrawItemSection(TObject *Sender, TCanvas *dc,
          int Index, THeaderSection *Section, const MyRect &Rect,
          const TOwnerDrawState &State);
        void __fastcall btnAddClick(TObject *Sender);
        void __fastcall btnDelClick(TObject *Sender);
        void __fastcall btnChangeClick(TObject *Sender);
        void __fastcall FormShow(TObject *Sender);
  private:
    NameArray& Aliases;
    
  public:
        __fastcall TFrmNamesList( NameArray& al );
};

#endif
